package com.changba.songstudio.util;

import media.ushow.webrtcdemo.CBUtils;

public class FFmpegUtils {

    static {
        CBUtils.init();
    }

    public native static int run(String[] commands);

    public static int run(String commands){
        if(commands!=null){
            String[] cmd = commands.split("[ \\t]+");
            return run(cmd);
        }
        return 0;
    }

}
